package com.wangdao.wechatmall.bean.vo.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author ShuiYi
 * @time 2021-07-09 15:09
 */
@Data
public class AdListVo {
    /**
     * id : 20
     * name : 112
     * link : 12466
     * url : http://182.92.235.201:8083/wx/storage/fetch/hgl4xvb1dp7sqn74sy06.jpg
     * position : 1
     * content : 12121
     * enabled : true
     * addTime : 2021-07-09 14:25:08
     * updateTime : 2021-07-09 14:25:08
     * deleted : false
     */

    private Integer id;
    private String name;
    private String link;
    private String url;
    private Byte position;
    private String content;
    private boolean enabled;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    private boolean deleted;




}
